package com.bootdo.system.domain;

import java.util.Date;

import com.bootdo.common.annotation.Table;
import com.fasterxml.jackson.annotation.JsonFormat;

@Table(code="tb_baby", display = "宝宝")
public class BabyDO extends BaseDO{

	//姓名
	private String babyName;
	//性别
	private Integer babySex;
	//出生日期
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") 
	private Date birthDay;
	//家长id
	private Long ownerId;
	//头像
	private String babyImg;
	
	public BabyDO() {
		
	}

	public Long getOwnerId() {
		return ownerId;
	}

	public void setOwnerId(Long ownerId) {
		this.ownerId = ownerId;
	}

	public String getBabyName() {
		return babyName;
	}

	public void setBabyName(String babyName) {
		this.babyName = babyName;
	}

	public Integer getBabySex() {
		return babySex;
	}

	public void setBabySex(Integer babySex) {
		this.babySex = babySex;
	}

	public Date getBirthDay() {
		return birthDay;
	}

	public void setBirthDay(Date birthDay) {
		this.birthDay = birthDay;
	}

	public String getBabyImg() {
		return babyImg;
	}

	public void setBabyImg(String babyImg) {
		this.babyImg = babyImg;
	}
	
}
